﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TreasureBoxEdit.aspx.cs" Inherits="SysManage.Module.TreasureBox.TreasureBoxEdit" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server" style="background-color: #0000FF">
        <f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
        <f:Panel ID="Panel1" ShowBorder="false" ShowHeader="false" AutoScroll="true" runat="server" Layout="Table" BoxConfigAlign="Stretch">
            <Items>
                <f:SimpleForm ID="SimpleForm1" ShowBorder="false" ShowHeader="false" runat="server"
                    BodyPadding="10px" Title="SimpleForm">
                    <Items>
                        <f:TextBox ID="txtTitle" Required="true" ShowRedStar="true" Label="名称" runat="server" LabelAlign="Right" LabelWidth="70px">
                        </f:TextBox>
                        <f:DropDownList ID="ddlSongType" runat="server" Label="歌曲类型" LabelAlign="Right" LabelWidth="70px" Hidden="true">
                            <f:ListItem Text="===未指定===" Value="" />
                            <f:ListItem Text="礼仪歌曲" Value="礼仪歌曲" />
                            <f:ListItem Text="金曲欣赏" Value="金曲欣赏" />
                        </f:DropDownList>
                        <f:FileUpload runat="server" ID="fileupload" LabelWidth="70px" LabelAlign="Right" AutoPostBack="true" OnFileSelected="fileupload_FileSelected"></f:FileUpload>
                        <f:TextArea ID="txtContent" runat="server" Label="描述" LabelAlign="Right" LabelWidth="70px" Height="70px"></f:TextArea>
                        <f:HiddenField ID="hdFileID" runat="server"></f:HiddenField>
                    </Items>
                </f:SimpleForm>
            </Items>
            <Toolbars>
                <f:Toolbar ID="Toolbar1" runat="server" Position="Bottom" ToolbarAlign="Center">
                    <Items>
                        <f:Button ID="btnSaveClose" ValidateForms="SimpleForm1" Icon="SystemSaveClose"
                            OnClick="btnSaveClose_Click" runat="server" Text="保存并关闭">
                        </f:Button>
                        <f:ToolbarSeparator ID="ToolbarSeparator2" runat="server">
                        </f:ToolbarSeparator>
                        <f:Button ID="btnClose" Icon="SystemClose" EnablePostBack="false" runat="server"
                            Text="关闭" DisableControlBeforePostBack="True">
                        </f:Button>
                    </Items>
                </f:Toolbar>
            </Toolbars>
        </f:Panel>
    </form>
</body>
</html>
